<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page isELIgnored="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>设置</title>
    <meta name="keywords" content="课程学习问答系统">
    <meta name="description" content="课程学习问答系统">
    <script src="../static/js/jquery/jquery-2.1.4.min.js" type="text/javascript"></script>
    <script src="../static/layui/layui.js" type="text/javascript"></script>
    <script src="../static/js/index/index.js" type="text/javascript"></script>
    <script src="../static/js/index/freezeheader.js" type="text/javascript"></script>
    <script src="../static/layui/lay/modules/layer.js" type="text/javascript"></script>
    <script src="../static/js/index/sliders.js" type="text/javascript"></script>
    <script src="../static/js/index/html5.js" type="text/javascript"></script>
    <link rel="stylesheet" href="../static/layui/css/layui.css" media="all"/>
    <link rel="stylesheet" href="../static/layui/css/modules/layer/default/layer.css"/>
    <link rel="stylesheet" href="../static/css/global.css"/>
    <link rel="stylesheet" href="./css/layui.css"/>
    <link rel="stylesheet" href="./css/amazeui.min.css" />
    <link rel="stylesheet" href="./css/admin.css" />
</head>
<body>
<div class="layui-form layui-form-pane layui-tab-item layui-show">
    <form class="layui-form" method="post" action="/admin/student/insert">
        <div class="layui-form-item">
            <label for="L_username" class="layui-form-label">学生学号</label>
            <div class="layui-input-inline">
                <input type="text" name="userNumber" lay-verify="required" autocomplete="off"
                       value="${student.studentNumber}"
                       class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label for="L_username" class="layui-form-label">学生姓名</label>
            <div class="layui-input-inline">
                <input type="text" name="username" lay-verify="required" autocomplete="off"
                       value="${student.studentName}"
                       class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">密码：</label>
            <div class="layui-input-inline">
                <input type="password" name="password" placeholder="请输入密码" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">确认密码：</label>
            <div class="layui-input-inline">
                <input type="password" name="rePassword" placeholder="请再次输入密码" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label for="L_username" class="layui-form-label">性别</label>
            <div class="layui-input-inline">
                <div class="layui-inline">
                    <div class="layui-input-inline">
                        <input type="radio" name="sex" value="1" checked title="男">
                        <input type="radio" name="sex" value="0" title="女">

                    </div>
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">邮箱</label>
                <div class="layui-input-inline">
                    <input type="text" name="email" lay-verify="required|phone" autocomplete="off"
                           class="layui-input" value="${student.studentTel}">
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">教师简介</label>
            <div class="layui-input-inline">
                <input type="text" name="teacherBrief" lay-verify="required" autocomplete="off"
                       class="layui-input" placeholder="请输入教师简介">
            </div>
        </div>
        <div class="layui-form-item">
            <label for="L_username" class="layui-form-label">教师职称</label>
            <div class="layui-input-inline">
                <input type="text" name="teacherPost" lay-verify="required" autocomplete="off"
                       class="layui-input"  placeholder="请输入教师职称">
            </div>
        </div>
        <div class="layui-form-item">
            <label for="L_username" class="layui-form-label">教师所教科目</label>
            <div class="layui-input-inline">
                <input type="text" name="teacherSubject" lay-verify="required" autocomplete="off"
                       class="layui-input" placeholder="请输入教师所教科目">
            </div>
        </div>
        <div class="layui-form-item">
            <label for="L_username" class="layui-form-label">教师学历</label>
            <div class="layui-input-inline">
                <input type="text" name="teacherDegree" lay-verify="required" autocomplete="off"
                       class="layui-input" placeholder="教师学历">
            </div>
        </div>
        <div class="layui-form-item">
            <label for="L_username" class="layui-form-label">教师头像</label>
            <div class="layui-input-inline">
                <input type="text" name="teacherAvatar" lay-verify="required" autocomplete="off"
                       class="layui-input">
            </div>

        </div>

        <div class="layui-form-item">
            <label for="L_username" class="layui-form-label">学生所在班级</label>
            <div class="layui-input-inline">
                <input type="text" name="studentClass" lay-verify="required"
                       autocomplete="off" value="${student.studentClass}" class="layui-input">
            </div>
        </div>


        <div class="layui-form-item">
            <button class="layui-btn" lay-filter="*" lay-submit>插入
            </button>
        </div>
    </form>
</div>
</body>
</html>